package com.shop.ddp.service.impl;

import com.shop.ddp.entity.User;
import com.shop.ddp.mapper.UserMapper;
import com.shop.ddp.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @date 2020/9/16 14:37
 */
@Service("userService")
public class UserServiceImpl implements UserService {


    @Autowired
    UserMapper userMapper;

    @Override
    public User getOne(String loginName, String password) {
        return userMapper.getOne(loginName,password);
    }

}
